<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="bo.book"%>
<%@ page import="java.util.*" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>查询名片成功</title>
<style>
body {
	background: #F0FFF0;
}

* {
	margin: 0px;
	padding: 0px;
}

.from {
	overflow: hidden;
	position: relative;
}

.bgc {
	width: 100%;
}

.submit {
	position: absolute;
	z-index: 9;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	margin-top: 100px;
	width: 800px;
	height: 600px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	color: #fff;
	display: flex;
	flex-direction: column;
}
.font1{
	font-size:30px;
}
.font2{
	font-size:23px;
}
</style>
</head>
<body>

	<div class="from">
		<img class="bgc" src="namecard.jpg" alt="">
		<div class="submit" align="center">
			<table align="center" border="1" width="800" height="600">
				
				<tr>
					<td class="font1" align="center" colspan="7">名片信息</td>
				</tr>
				<tr align="center">
					<td class="font2">序号</td>
					<td class="font2">姓名</td>
					<td class="font2">性别</td>
					<td class="font2">登录账号</td>
					<td class="font2">密码</td>
					<td class="font2">电子邮箱</td>
					<%
					book b = (book) request.getAttribute("b1");
				%>
				<tr align="center">
					<td class="font2"><%=b.getId()%></td>
					<td class="font2"><%=b.getName()%></td>
					<td class="font2"><%=b.getSex()%></td>
					<td class="font2"><%=b.getUsername()%></td>
					<td class="font2"><%=b.getUserpwd()%></td>
					<td class="font2"><%=b.getMail()%></td>
				</tr>
			</table>

		</div>
	</div>

</body>
</html>